# -*- coding:utf-8 -*-
# Author: Bernard
# Date: 2021-7-21

import random
f = open('lite.txt', 'w')
stu = ['Bernard', 'Kluicer', 'Anton', 'Falcon', 'Zima']


def randTime():
    t = str(random.randint(6, 19)).zfill(2)
    m = str(random.randint(0, 59)).zfill(2)
    s = str(random.randint(0, 59)).zfill(2)
    return t+':'+m+':'+s


print('ID\tname\tamount\tpos\tdate\ttime', file=f)

ordId = 0

for day in range(1, 6):
    for _ in range(random.randint(5*2, 5*3+3)):
        ordId += 1
        name = random.choice(stu)
        amount = random.randint(60, 200)/10
        pos = random.randint(1, 6)
        tm = randTime()
        print(str(ordId)+'\t'+name+'\t'+str(amount)+'\t' +
              str(pos)+'\t'+'Sept '+str(day)+'\t'+tm, file=f)
